package com.fenxiang.tieba;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 * Created by lixiang on 09/07/2017.
 */
public class PostMain extends Application {
    @Override
    public void start(Stage primaryStage) throws Exception{
        //加载资源文件,用于定义界面
        Parent root = FXMLLoader.load(getClass().getResource("/sample.fxml"));
        //整个窗体的设置
        primaryStage.setTitle("tiebaPost");
        primaryStage.setScene(new Scene(root, 800, 600));
        primaryStage.show();
    }


    public static void main(String[] args) {
        launch(args);
    }
}
